package com.mydatastore.entity;

public class Client {

  private int id = -1;
  private String firstName;
  private String lastName;
  private String middleName;
  private int age;
  private Sex sex;
  
  public Client(int id, String firstName, String lastName, String middleName, int age, Sex sex) {
    this.id = id;
    this.firstName = firstName;
    this.lastName = lastName;
    this.middleName = middleName;
    this.age = age;
    this.sex = sex;
  }
  
  public Client(String firstName, String lastName, String middleName, int age, Sex sex) {
    this.firstName = firstName;
    this.lastName = lastName;
    this.middleName = middleName;
    this.age = age;
    this.sex = sex;
  }

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public String getFirstName() {
    return firstName;
  }

  public String getLastName() {
    return lastName;
  }

  public String getMiddleName() {
    return middleName;
  }

  public int getAge() {
    return age;
  }

  public Sex getSex() {
    return sex;
  }

  @Override
  public String toString() {
    return lastName + "," + firstName;
  }
}
